import request from '@/utils/request'

export function getBoard (Param) {
  return request({
    url: '/mall4cloud_point/ua/section',
    method: 'get',
    params: Param
  })
}

export function addBoard (data) {
  return request({
    url: '/mall4cloud_point/admin/section/add',
    method: 'post',
    data
  })
}

export function changeBoard (data) {
  return request({
    url: '/mall4cloud_point/admin/section/update',
    method: 'post',
    data
  })
}

export function deleteBoard (data) {
  return request({
    url: '/mall4cloud_point/admin/section/delete',
    method: 'post',
    data
  })
}
